package com.cn.service;

import com.cn.pojo.Product;

public interface ProductService {
    int addProduct(Product product);

    int queryProductIdByName(String productName);

    int updateProduct(Product product);

    int queryProductCount(Integer productId);

    int setProductCount(Integer productId, Integer count);
}
